import axios from '@/libs/api.request'

// 分类数量统计
export const getStatistics = params => axios.request({
    url: '/api/Statistics',
    method: 'get',
    params
})


// 场景预警数量统计
export const getSceneStatic = params => axios.request({
    url: '/api/Statistics/senceAlarmStatic',
    method: 'get',
    params
})


// 区域
export const getLocationStatic = params => axios.request({
    url: '/api/Statistics/locationStatic',
    method: 'get',
    params
})


// 警告类型统计
export const getAlarmTStatic = params => axios.request({
    url: '/api/Statistics/alarmTStatic',
    method: 'get',
    params
})

// 时间统计
export const getTimeStatic = params => axios.request({
    url: '/api/Statistics/timeStatic',
    method: 'get',
    params
})